<?php echo $this->fetch('header.html'); ?>
<div id="rightTop">
    <p>分类设置</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=kd_fenlei">管理</a></li>
        <li><?php if ($this->_var['region']['region_id']): ?><a class="btn1" href="index.php?app=kd_fenlei&amp;act=add">新增</a><?php else: ?><span>新增</span><?php endif; ?></li>
    </ul>
</div>
<div class="info">
    <form method="post" enctype="multipart/form-data">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">分类名称:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="region_name" type="text" name="region_name" value="<?php echo htmlspecialchars($this->_var['region']['region_name']); ?>" /></td>
            </tr>
            <tr>
                <th class="paddingT15"><label for="parent_id">上级分类:</label></th>
                <td class="paddingT15 wordSpacing5"><select id="parent_id" name="parent_id" class="select_css"><option value="0">请选择...</option><?php echo $this->html_options(array('options'=>$this->_var['parents'],'selected'=>$this->_var['region']['parent_id'])); ?></select></td>
            </tr>
            <tr>
                <th class="paddingT15">首重费用:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="shouzhong" name="shouzhong" type="text" value="<?php echo htmlspecialchars($this->_var['region']['shouzhong']); ?>" /> 美元</td>
            </tr> 
            <tr>
                <th class="paddingT15">续重费用:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="xuzhong" name="xuzhong" type="text" value="<?php echo htmlspecialchars($this->_var['region']['xuzhong']); ?>" /> 美元</td>
            </tr>  
            <tr>
                <th class="paddingT15">附加费用:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="fujia" name="fujia" type="text" value="<?php echo htmlspecialchars($this->_var['region']['fujia']); ?>" /> 美元</td>
            </tr>  
            <tr>
                <th class="paddingT15">起重标准:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="qizhong" name="qizhong" type="text" value="<?php echo htmlspecialchars($this->_var['region']['qizhong']); ?>" /> 磅</td>
            </tr>
            <tr>
                <th class="paddingT15">说明:</th>
                <td class="paddingT15 wordSpacing5">
				<script type="text/javascript" charset="utf-8" src="/data/ueditor/ueditor.config.js"></script>
				<script type="text/javascript" charset="utf-8" src="/data/ueditor/ueditor.all.min.js"> </script>
				<script type="text/javascript" charset="utf-8" src="/data/ueditor/lang/zh-cn/zh-cn.js"></script>
                <textarea name="shuoming" id="shuoming" style="width:98%;height:250px;"><?php echo $this->_var['region']['shuoming']; ?></textarea>
                <script type="text/javascript">var ue = UE.getEditor('shuoming');</script>
                </td>
            </tr>                                                                
            <tr>
                <th class="paddingT15">
                    排序:</th>
                <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" id="sort_order" type="text" name="sort_order" value="<?php echo $this->_var['region']['sort_order']; ?>" /></td>
            </tr>
        <tr>
            <th></th>
            <td class="ptb20">
                <input class="formbtn" type="submit" name="Submit" value="提交" />
                <input class="formbtn" type="reset" name="reset" value="重置" />
             </td>
        </tr>
        </table>
    </form>
</div>
<?php echo $this->fetch('footer.html'); ?>